Ответ: class RGB(): def __init__(self, red, green, blue): self.name = “RGB” class CMYK: def __init__(self, cyan, magenta, yellow, black):
class RGB(): def __init__(self, red, green, blue): self.name = “RGB” class CMYK: def __init__(self, cyan, magenta, yellow, black): self.name = “CMYK” colors = [ RGB(), CMYK() ] for co in [...]